package com.oa.cc.service;

import java.util.List;

import com.oa.cc.dao.WorkStreamDao;
import com.oa.domain.Workstream;

public class WorkStreamServiceImpl implements WorkStreamService {
	private WorkStreamDao workStreamDao;
	public void setWorkStreamDao(WorkStreamDao workStreamDao) {
		this.workStreamDao = workStreamDao;
	}
	public List<Workstream> getWordsByExample(Workstream workstream) {
		return workStreamDao.getWordsByExample(workstream);
	}
	public Workstream getWordStreamById(Long wsid) {
		return workStreamDao.getWordStreamById(wsid);
	}
}
